Skip to content

Add new dashboard suggestion to readme#42

Open
zulufoxtrot wants to merge 1 commit into
sebcaps:mainfrom
zulufoxtrot:main
Open

Add new dashboard suggestion to readme#42
zulufoxtrot wants to merge 1 commit into
sebcaps:mainfrom
zulufoxtrot:main

Conversation

@zulufoxtrot
Copy link
Copy Markdown

Screenshot 2025-07-27 at 10 41 34

@Nickduino
Copy link
Copy Markdown

J'ai envie, humblement, de proposer ma version :

image

J'ai repris les couleurs officielles Atmo.

square: false
type: grid
cards:
  - type: gauge
    entity: sensor.qualite_globale_ma_ville
    name: Global
    min: 0
    max: 7.5
    segments:
      - from: 0
        color: transparent
        label: Indisponible
      - from: 0.5
        color: "#50F0E6"
        label: Bon
      - from: 1.5
        color: "#50CCAA"
        label: Moyen
      - from: 2.5
        color: "#F0E641"
        label: Dégradé
      - from: 3.5
        color: "#FF5050"
        label: Mauvais
      - from: 4.5
        color: "#960032"
        label: Très mauvais
      - from: 5.5
        color: "#872181"
        label: Extrêmement mauvais
      - from: 6.5
        color: "#888888"
        label: Événement !
    needle: true
  - type: gauge
    entity: sensor.ozone_ma_ville
    name: O₃
    min: 0
    max: 7.5
    segments:
      - from: 0
        color: transparent
        label: Indisponible
      - from: 0.5
        color: "#50F0E6"
        label: Bon
      - from: 1.5
        color: "#50CCAA"
        label: Moyen
      - from: 2.5
        color: "#F0E641"
        label: Dégradé
      - from: 3.5
        color: "#FF5050"
        label: Mauvais
      - from: 4.5
        color: "#960032"
        label: Très mauvais
      - from: 5.5
        color: "#872181"
        label: Extrêmement mauvais
      - from: 6.5
        color: "#888888"
        label: Événement !
    needle: true
    layout_options:
      grid_columns: 1
      grid_rows: 1
  - type: gauge
    entity: sensor.dioxyde_d_azote_ma_ville
    name: NO₂
    min: 0
    max: 7.5
    segments:
      - from: 0
        color: transparent
        label: Indisponible
      - from: 0.5
        color: "#50F0E6"
        label: Bon
      - from: 1.5
        color: "#50CCAA"
        label: Moyen
      - from: 2.5
        color: "#F0E641"
        label: Dégradé
      - from: 3.5
        color: "#FF5050"
        label: Mauvais
      - from: 4.5
        color: "#960032"
        label: Très mauvais
      - from: 5.5
        color: "#872181"
        label: Extrêmement mauvais
      - from: 6.5
        color: "#888888"
        label: Événement !
    needle: true
    layout_options:
      grid_columns: 1
      grid_rows: 1
  - type: gauge
    entity: sensor.dioxyde_de_soufre_ma_ville
    name: SO₂
    min: 0
    max: 7.5
    segments:
      - from: 0
        color: transparent
        label: Indisponible
      - from: 0.5
        color: "#50F0E6"
        label: Bon
      - from: 1.5
        color: "#50CCAA"
        label: Moyen
      - from: 2.5
        color: "#F0E641"
        label: Dégradé
      - from: 3.5
        color: "#FF5050"
        label: Mauvais
      - from: 4.5
        color: "#960032"
        label: Très mauvais
      - from: 5.5
        color: "#872181"
        label: Extrêmement mauvais
      - from: 6.5
        color: "#888888"
        label: Événement !
    needle: true
    layout_options:
      grid_columns: 1
      grid_rows: 1
  - type: gauge
    entity: sensor.pm10_ma_ville
    name: PM10
    min: 0
    max: 7.5
    segments:
      - from: 0
        color: transparent
        label: Indisponible
      - from: 0.5
        color: "#50F0E6"
        label: Bon
      - from: 1.5
        color: "#50CCAA"
        label: Moyen
      - from: 2.5
        color: "#F0E641"
        label: Dégradé
      - from: 3.5
        color: "#FF5050"
        label: Mauvais
      - from: 4.5
        color: "#960032"
        label: Très mauvais
      - from: 5.5
        color: "#872181"
        label: Extrêmement mauvais
      - from: 6.5
        color: "#888888"
        label: Événement !
    needle: true
    layout_options:
      grid_columns: 1
      grid_rows: 1
  - type: gauge
    entity: sensor.pm25_ma_ville
    name: PM2,5
    min: 0
    max: 7.5
    segments:
      - from: 0
        color: transparent
        label: Indisponible
      - from: 0.5
        color: "#50F0E6"
        label: Bon
      - from: 1.5
        color: "#50CCAA"
        label: Moyen
      - from: 2.5
        color: "#F0E641"
        label: Dégradé
      - from: 3.5
        color: "#FF5050"
        label: Mauvais
      - from: 4.5
        color: "#960032"
        label: Très mauvais
      - from: 5.5
        color: "#872181"
        label: Extrêmement mauvais
      - from: 6.5
        color: "#888888"
        label: Événement !
    needle: true
    layout_options:
      grid_columns: 1
      grid_rows: 1
layout_options:
  grid_columns: 4
  grid_rows: 4
visibility:
  - condition: state
    entity: sensor.qualite_globale_ma_ville
    state_not: unavailable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants